package com.smartleanx.module.hrm.controller.admin.payroll.vo;

import com.smartleanx.framework.common.validation.InEnum;
import com.smartleanx.module.system.enums.customfield.CustomFieldLabelEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

@Schema(description = "管理后台 - 薪资详情分页 Request VO")
@Data
public class PayrollDetailListReqVO {

    @Schema(description = "标签", example = "1526")
    @InEnum(value = CustomFieldLabelEnum.class, message = "标签页格式非法")
    private List<Integer> labels;

    @Schema(description = "薪资月份ID", example = "1526")
    @NotNull(message = "薪资月份ID不能为空")
    private Long payrollId;
}